var e = getApp();

Page({
   onLoad() {
     var info = e.getUserInfo();
     //console.log(info);
     this.setData({
        headimg:info.wxUserInfo.avatarUrl,
        nickname:info.wxUserInfo.nickName,
    });
     //console.log(999,info.wxUserInfo.nickName);
   },
   onShow: function() {
    wx.hideHomeButton()
},
});